package ooday05;
/*必须声明同时初始化
* 常常通过类名点来访问，不能被改变
* 建议常量名所有字母都大写，多个单词之间用_分隔*/
public class StaticFinalDemo {
    public static void main(String[] args) {
        System.out.println(Loo.PI);//常常通过类名点来访问
//        Loo.PI = 3.14341;
    }
}
class Loo{
    public static int num = 5;
    public static final int couni = 5;
    public static final double PI = 3.1415926;
}